package com.dries.security.core.properties;

import com.dries.security.core.enums.LoginType;
import lombok.Data;

/**
 * @Description:
 * @Author ZSY
 * @createTime 2020/9/3 15:07
 */
@Data
public class BrowserProperties {

    private SessionProperties session = new SessionProperties();
    // 登录页
    private String loginPage = SecurityCoreConstants.DEFAULT_LOGIN_PAGE;
    private String registerPage = SecurityCoreConstants.DEFAULT_REGISTER_PAGE;
    private String logoutPage = SecurityCoreConstants.DEFAULT_LOGOUT_PAGE;

    // 登录方式
    private LoginType loginType = LoginType.JSON;
    // 登录过期时间 单位s
    private Integer rememberMeSeconds = 3600;

}
